//Function used to convert value into a boolean value and return corresponding no.
void booleanValue(int value, int *a, int *b, int *c, int *d, int *e){
	
	// Checking if a is true or not to see if it subtractable by 16 if it is a = 1
	if (value >= 16){
		*a = 1;
		value = value - 16;
	}
	// if not then value is 0
	else
		*a = 0;

	
	// Checking if B is true or not to see if it subtractable by 8 if it is B = 1
	if (value >= 8){
		*b = 1;
		value = value - 8;
	}
	// if not then value is 0
	else
		*b = 0;

	
	// Checking if C is true or not to see if it subtractable by 4 if it is C = 1
	if (value >= 4){
		*c = 1;
		value = value - 4;
	}
	// if not then value is 0
	else
		*c = 0;

	
	// Checking if D is true or not to see if it subtractable by 2 if it is D = 1
	if (value >= 2){
		*d = 1;
		value = value - 2;
	}
	// if not then value is 0
	else
		*d = 0;

	
	// Checking if E is true or not to see if it subtractable by 1 if it is E = 1
	if (value == 1){
		*e = 1;
		value = value - 1;
	}
	// if not then value is 0
	else
		*e = 0;

	//Error Checking for fun!!!
	if (value != 0)
		printf("There has been some kind of Error!!!!");
}